//
//  UILabel+category.m
//  SSJC
//
//  Created by xzm on 16/11/8.
//  Copyright © 2016年 admin. All rights reserved.
//

#import "UILabel+category.h"

@implementation UILabel (category)

+ (instancetype)creatWithFrame:(CGRect)rect
                          font:(UIFont *)font
                          text:(NSString *)text
                     textColor:(UIColor *)textColor
                 textAlignment:(NSTextAlignment)textAlignment
{
    UILabel *label = [[self alloc]initWithFrame:rect];
    label.font = font;
    label.text = text;
    label.textColor = textColor;
    label.textAlignment = textAlignment;
    return label;
}

@end
